package net.mfjassociates.finance.domain.mfjfin_newdb;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import org.springframework.roo.addon.jpa.identifier.RooIdentifier;

@Embeddable
@RooIdentifier(dbManaged = false)
public final class MyCompanyInformationPK {

	@Column(name = "SetupID", nullable = false)
    private Integer setupId;

	@Column(name = "CompanyName", nullable = false, length = 50)
    private String companyName;

	@Column(name = "Address", nullable = false, length = 255)
    private String address;

	@Column(name = "City", nullable = false, length = 50)
    private String city;

	@Column(name = "StateOrProvince", nullable = false, length = 20)
    private String stateOrProvince;

	@Column(name = "PostalCode", nullable = false, length = 20)
    private String postalCode;

	@Column(name = "Country_Region", nullable = false, length = 50)
    private String countryRegion;

	@Column(name = "PhoneNumber", nullable = false, length = 30)
    private String phoneNumber;

	@Column(name = "FaxNumber", nullable = false, length = 30)
    private String faxNumber;

	@Column(name = "DefaultPaymentTerms", nullable = false, length = 255)
    private String defaultPaymentTerms;

	@Column(name = "DefaultInvoiceDescription", nullable = false)
    private String defaultInvoiceDescription;

	public MyCompanyInformationPK(Integer setupId, String companyName, String address, String city, String stateOrProvince, String postalCode, String countryRegion, String phoneNumber, String faxNumber, String defaultPaymentTerms, String defaultInvoiceDescription) {
        super();
        this.setupId = setupId;
        this.companyName = companyName;
        this.address = address;
        this.city = city;
        this.stateOrProvince = stateOrProvince;
        this.postalCode = postalCode;
        this.countryRegion = countryRegion;
        this.phoneNumber = phoneNumber;
        this.faxNumber = faxNumber;
        this.defaultPaymentTerms = defaultPaymentTerms;
        this.defaultInvoiceDescription = defaultInvoiceDescription;
    }

	private MyCompanyInformationPK() {
        super();
    }

	public Integer getSetupId() {
        return setupId;
    }

	public String getCompanyName() {
        return companyName;
    }

	public String getAddress() {
        return address;
    }

	public String getCity() {
        return city;
    }

	public String getStateOrProvince() {
        return stateOrProvince;
    }

	public String getPostalCode() {
        return postalCode;
    }

	public String getCountryRegion() {
        return countryRegion;
    }

	public String getPhoneNumber() {
        return phoneNumber;
    }

	public String getFaxNumber() {
        return faxNumber;
    }

	public String getDefaultPaymentTerms() {
        return defaultPaymentTerms;
    }

	public String getDefaultInvoiceDescription() {
        return defaultInvoiceDescription;
    }
}
